package GUI;

import java.util.Vector;

import Common.StudentClass;
/**
 * 
 * Class for the parent user Type
 *
 */
public class UserParent {
	private String LoginResult;
	public Vector<StudentClass> StudentsData;
	public Vector<String> ChildIds;
	private String Id;
	private String Name;
	public int numOfChildren=0;
	private String selYear;
	private String selSem;
	private String selCourse;
	private int index = 0;
	/**
	 * Constructor for this class
	 */
	public UserParent()
	{
		this.LoginResult=null;
		this.StudentsData=null;
		this.Id=null;
		this.ChildIds=null;
	}
	
	public void SetId (String s)
	{
		this.Id=s;
	}	
	
	public void SetName(String s)
	{
		this.Name=s;
	}
	
	public String GetName()
	{
		return Name;
	}
	
	public void SetYear (String s )
	{
		this.selYear=s;
	}
	
	public void SetSemester (String s )
	{
		this.selSem=s;
	}
	
	public void SetCourse (String s )
	{
		this.selCourse=s;
	}
	
	public String getYear ( )
	{
		return selYear;
	}
	
	public String getSem ( )
	{
		return selSem;
	}
	
	public String getCourse ( )
	{
		return selCourse;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

}
